Drawing.correctError Method

Returns the value of a number rounded to eliminate rounding error while accommodating a standard amount of precision for rendering to pixels.
 
 
Static This method is static.

Parameters

x

Type: Number
A number.

Return Value


Type: Number
The value of x rounded to dundas.Drawing.PIXEL_PRECISION decimal places.